#ifndef OLED_H
#define OLED_H

#include <stdint.h>

typedef enum
{
    FONT6x8 = 1,
    FONT8x16,
    FONTCN12x12,
    FONTCN16x16
} Font;

uint32_t Oled_Init(void);
void Oled_SetPos(uint8_t x, uint8_t y);
void Oled_Fill(uint8_t data);
void Oled_ShowChar(uint8_t x, uint8_t y, uint8_t ch, Font font);
void Oled_ShowString(uint8_t x, uint8_t y, const char *str, Font font);
void Oled_ShowChinese(uint8_t x, uint8_t y, uint8_t num, Font font);

#endif